package com.autumn.demo.dto.output;

import com.autumn.common.api.application.dto.output.DefaultGmtModifiedOutput;

/**
 * 基本信息输出
 * 
 * @author 老码农
 *
 *         2017-12-01 16:09:07
 */
public class BasicsInfoOutput extends DefaultGmtModifiedOutput {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3169303229190080848L;
	private Integer sortId;
	private String name;
	private boolean isDisable;
	private String remark;
	private Long id;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取是否停用
	 * 
	 * @return
	 */
	public boolean getIsDisable() {
		return isDisable;
	}

	/**
	 * 设置是否停用
	 *
	 * @param isDisable
	 */
	public void setIsDisable(boolean isDisable) {
		this.isDisable = isDisable;
	}

	/**
	 * 获取备注
	 * 
	 * @return
	 */
	public String getRemark() {
		return remark;
	}

	/**
	 * 设置备注
	 * 
	 * @param remark
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * 获取顺序Id
	 * 
	 * @author 张 @date 2017/11/6 设置默认sortId,
	 * @return
	 */
	public Integer getSortId() {
		if (sortId == null) {
			sortId = 0;
		}
		return sortId;
	}

	/**
	 * 设置顺序Id
	 * 
	 * @param sortId
	 */
	public void setSortId(Integer sortId) {
		this.sortId = sortId;
	}

	/**
	 * 获取名称
	 * 
	 * @return
	 */
	public String getName() {
		return name;
	}

	/**
	 * 设置名称
	 * 
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

}
